3.121 \(\int \frac{\sec (e+f x) (a+a \sec (e+f x))^{3/2}}{(c-c \sec (e+f x))^{9/2}} \, dx\)

Optimal. Leaf size=92 \[ \frac{a^2 \tan (e+f x)}{12 c f \sqrt{a \sec (e+f x)+a} (c-c \sec (e+f x))^{7/2}}-\frac{a \tan (e+f x) \sqrt{a \sec (e+f x)+a}}{4 f (c-c \sec (e+f x))^{9/2}} \]

[Out]

-(a*Sqrt[a + a*Sec[e + f*x]]*Tan[e + f*x])/(4*f*(c - c*Sec[e + f*x])^(9/2)) + (a^2*Tan[e + f*x])/(12*c*f*Sqrt[
a + a*Sec[e + f*x]]*(c - c*Sec[e + f*x])^(7/2))

________________________________________________________________________________________

Rubi [A]  time = 0.284766, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056, Rules used = {3954, 3953} \[ \frac{a^2 \tan (e+f x)}{12 c f \sqrt{a \sec (e+f x)+a} (c-c \sec (e+f x))^{7/2}}-\frac{a \tan (e+f x) \sqrt{a \sec (e+f x)+a}}{4 f (c-c \sec (e+f x))^{9/2}} \]

Antiderivative was successfully verified.

[In]

Int[(Sec[e + f*x]*(a + a*Sec[e + f*x])^(3/2))/(c - c*Sec[e + f*x])^(9/2),x]

[Out]

-(a*Sqrt[a + a*Sec[e + f*x]]*Tan[e + f*x])/(4*f*(c - c*Sec[e + f*x])^(9/2)) + (a^2*Tan[e + f*x])/(12*c*f*Sqrt[
a + a*Sec[e + f*x]]*(c - c*Sec[e + f*x])^(7/2))

Rule 3954

Int[csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_))
^(n_.), x_Symbol] :> Simp[(2*a*c*Cot[e + f*x]*(a + b*Csc[e + f*x])^m*(c + d*Csc[e + f*x])^(n - 1))/(b*f*(2*m +
 1)), x] - Dist[(d*(2*n - 1))/(b*(2*m + 1)), Int[Csc[e + f*x]*(a + b*Csc[e + f*x])^(m + 1)*(c + d*Csc[e + f*x]
)^(n - 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && IGtQ[n - 1/2, 0
] && LtQ[m, -2^(-1)]

Rule 3953

Int[csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_.)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.) +
(c_)], x_Symbol] :> Simp[(2*a*c*Cot[e + f*x]*(a + b*Csc[e + f*x])^m)/(b*f*(2*m + 1)*Sqrt[c + d*Csc[e + f*x]]),
 x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[m, -2^(-1)]

Rubi steps

\begin{align*} \int \frac{\sec (e+f x) (a+a \sec (e+f x))^{3/2}}{(c-c \sec (e+f x))^{9/2}} \, dx &=-\frac{a \sqrt{a+a \sec (e+f x)} \tan (e+f x)}{4 f (c-c \sec (e+f x))^{9/2}}-\frac{a \int \frac{\sec (e+f x) \sqrt{a+a \sec (e+f x)}}{(c-c \sec (e+f x))^{7/2}} \, dx}{4 c}\\ &=-\frac{a \sqrt{a+a \sec (e+f x)} \tan (e+f x)}{4 f (c-c \sec (e+f x))^{9/2}}+\frac{a^2 \tan (e+f x)}{12 c f \sqrt{a+a \sec (e+f x)} (c-c \sec (e+f x))^{7/2}}\\ \end{align*}

Mathematica [A]  time = 0.846981, size = 90, normalized size = 0.98 \[ -\frac{a (17 \cos (e+f x)-6 \cos (2 (e+f x))+3 \cos (3 (e+f x))-8) \tan \left (\frac{1}{2} (e+f x)\right ) \sqrt{a (\sec (e+f x)+1)}}{12 c^4 f (\cos (e+f x)-1)^4 \sqrt{c-c \sec (e+f x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sec[e + f*x]*(a + a*Sec[e + f*x])^(3/2))/(c - c*Sec[e + f*x])^(9/2),x]

[Out]

-(a*(-8 + 17*Cos[e + f*x] - 6*Cos[2*(e + f*x)] + 3*Cos[3*(e + f*x)])*Sqrt[a*(1 + Sec[e + f*x])]*Tan[(e + f*x)/
2])/(12*c^4*f*(-1 + Cos[e + f*x])^4*Sqrt[c - c*Sec[e + f*x]])

________________________________________________________________________________________

Maple [A]  time = 0.283, size = 93, normalized size = 1. \begin{align*}{\frac{a \left ( 17\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}-6\,\cos \left ( fx+e \right ) +1 \right ) \left ( \sin \left ( fx+e \right ) \right ) ^{3}}{96\,f \left ( -1+\cos \left ( fx+e \right ) \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{4}}\sqrt{{\frac{a \left ( 1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }}} \left ({\frac{c \left ( -1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }} \right ) ^{-{\frac{9}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(f*x+e)*(a+a*sec(f*x+e))^(3/2)/(c-c*sec(f*x+e))^(9/2),x)

[Out]

1/96/f*a*(17*cos(f*x+e)^2-6*cos(f*x+e)+1)*sin(f*x+e)^3*(1/cos(f*x+e)*a*(1+cos(f*x+e)))^(1/2)/(-1+cos(f*x+e))/c
os(f*x+e)^4/(c*(-1+cos(f*x+e))/cos(f*x+e))^(9/2)

________________________________________________________________________________________

Maxima [B]  time = 19.9984, size = 3521, normalized size = 38.27 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(3/2)/(c-c*sec(f*x+e))^(9/2),x, algorithm="maxima")

[Out]

2/3*(28*a*cos(6*f*x + 6*e)*sin(4*f*x + 4*e) - 28*a*cos(4*f*x + 4*e)*sin(2*f*x + 2*e) + 2*(3*a*sin(6*f*x + 6*e)
 + 8*a*sin(4*f*x + 4*e) + 3*a*sin(2*f*x + 2*e))*cos(8*f*x + 8*e) + (3*a*sin(8*f*x + 8*e) + 36*a*sin(6*f*x + 6*
e) + 82*a*sin(4*f*x + 4*e) + 36*a*sin(2*f*x + 2*e) - 32*a*sin(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))
 - 32*a*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*cos(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*
e))) + (17*a*sin(8*f*x + 8*e) + 140*a*sin(6*f*x + 6*e) + 294*a*sin(4*f*x + 4*e) + 140*a*sin(2*f*x + 2*e) + 32*
a*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*cos(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) +
 (17*a*sin(8*f*x + 8*e) + 140*a*sin(6*f*x + 6*e) + 294*a*sin(4*f*x + 4*e) + 140*a*sin(2*f*x + 2*e) + 32*a*sin(
1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + (3*a*
sin(8*f*x + 8*e) + 36*a*sin(6*f*x + 6*e) + 82*a*sin(4*f*x + 4*e) + 36*a*sin(2*f*x + 2*e))*cos(1/2*arctan2(sin(
2*f*x + 2*e), cos(2*f*x + 2*e))) - 2*(3*a*cos(6*f*x + 6*e) + 8*a*cos(4*f*x + 4*e) + 3*a*cos(2*f*x + 2*e))*sin(
8*f*x + 8*e) - 2*(14*a*cos(4*f*x + 4*e) - 3*a)*sin(6*f*x + 6*e) + 4*(7*a*cos(2*f*x + 2*e) + 4*a)*sin(4*f*x + 4
*e) + 6*a*sin(2*f*x + 2*e) - (3*a*cos(8*f*x + 8*e) + 36*a*cos(6*f*x + 6*e) + 82*a*cos(4*f*x + 4*e) + 36*a*cos(
2*f*x + 2*e) - 32*a*cos(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 32*a*cos(3/2*arctan2(sin(2*f*x + 2*
e), cos(2*f*x + 2*e))) + 3*a)*sin(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - (17*a*cos(8*f*x + 8*e) +
140*a*cos(6*f*x + 6*e) + 294*a*cos(4*f*x + 4*e) + 140*a*cos(2*f*x + 2*e) + 32*a*cos(1/2*arctan2(sin(2*f*x + 2*
e), cos(2*f*x + 2*e))) + 17*a)*sin(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - (17*a*cos(8*f*x + 8*e) +
 140*a*cos(6*f*x + 6*e) + 294*a*cos(4*f*x + 4*e) + 140*a*cos(2*f*x + 2*e) + 32*a*cos(1/2*arctan2(sin(2*f*x + 2
*e), cos(2*f*x + 2*e))) + 17*a)*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - (3*a*cos(8*f*x + 8*e) +
 36*a*cos(6*f*x + 6*e) + 82*a*cos(4*f*x + 4*e) + 36*a*cos(2*f*x + 2*e) + 3*a)*sin(1/2*arctan2(sin(2*f*x + 2*e)
, cos(2*f*x + 2*e))))*sqrt(a)*sqrt(c)/((c^5*cos(8*f*x + 8*e)^2 + 784*c^5*cos(6*f*x + 6*e)^2 + 4900*c^5*cos(4*f
*x + 4*e)^2 + 784*c^5*cos(2*f*x + 2*e)^2 + 64*c^5*cos(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 313
6*c^5*cos(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 3136*c^5*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(
2*f*x + 2*e)))^2 + 64*c^5*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + c^5*sin(8*f*x + 8*e)^2 + 78
4*c^5*sin(6*f*x + 6*e)^2 + 4900*c^5*sin(4*f*x + 4*e)^2 + 3920*c^5*sin(4*f*x + 4*e)*sin(2*f*x + 2*e) + 784*c^5*
sin(2*f*x + 2*e)^2 + 64*c^5*sin(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 3136*c^5*sin(5/2*arctan2(
sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 3136*c^5*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 64*
c^5*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 56*c^5*cos(2*f*x + 2*e) + c^5 + 2*(28*c^5*cos(6*f
*x + 6*e) + 70*c^5*cos(4*f*x + 4*e) + 28*c^5*cos(2*f*x + 2*e) + c^5)*cos(8*f*x + 8*e) + 56*(70*c^5*cos(4*f*x +
 4*e) + 28*c^5*cos(2*f*x + 2*e) + c^5)*cos(6*f*x + 6*e) + 140*(28*c^5*cos(2*f*x + 2*e) + c^5)*cos(4*f*x + 4*e)
 - 16*(c^5*cos(8*f*x + 8*e) + 28*c^5*cos(6*f*x + 6*e) + 70*c^5*cos(4*f*x + 4*e) + 28*c^5*cos(2*f*x + 2*e) - 56
*c^5*cos(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 56*c^5*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x
 + 2*e))) - 8*c^5*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + c^5)*cos(7/2*arctan2(sin(2*f*x + 2*e)
, cos(2*f*x + 2*e))) - 112*(c^5*cos(8*f*x + 8*e) + 28*c^5*cos(6*f*x + 6*e) + 70*c^5*cos(4*f*x + 4*e) + 28*c^5*
cos(2*f*x + 2*e) - 56*c^5*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 8*c^5*cos(1/2*arctan2(sin(2*f
*x + 2*e), cos(2*f*x + 2*e))) + c^5)*cos(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 112*(c^5*cos(8*f*x
 + 8*e) + 28*c^5*cos(6*f*x + 6*e) + 70*c^5*cos(4*f*x + 4*e) + 28*c^5*cos(2*f*x + 2*e) - 8*c^5*cos(1/2*arctan2(
sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + c^5)*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 16*(c^5*cos
(8*f*x + 8*e) + 28*c^5*cos(6*f*x + 6*e) + 70*c^5*cos(4*f*x + 4*e) + 28*c^5*cos(2*f*x + 2*e) + c^5)*cos(1/2*arc
tan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + 28*(2*c^5*sin(6*f*x + 6*e) + 5*c^5*sin(4*f*x + 4*e) + 2*c^5*sin(2*
f*x + 2*e))*sin(8*f*x + 8*e) + 784*(5*c^5*sin(4*f*x + 4*e) + 2*c^5*sin(2*f*x + 2*e))*sin(6*f*x + 6*e) - 16*(c^
5*sin(8*f*x + 8*e) + 28*c^5*sin(6*f*x + 6*e) + 70*c^5*sin(4*f*x + 4*e) + 28*c^5*sin(2*f*x + 2*e) - 56*c^5*sin(
5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 56*c^5*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))
 - 8*c^5*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sin(7/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2
*e))) - 112*(c^5*sin(8*f*x + 8*e) + 28*c^5*sin(6*f*x + 6*e) + 70*c^5*sin(4*f*x + 4*e) + 28*c^5*sin(2*f*x + 2*e
) - 56*c^5*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 8*c^5*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(
2*f*x + 2*e))))*sin(5/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 112*(c^5*sin(8*f*x + 8*e) + 28*c^5*sin(
6*f*x + 6*e) + 70*c^5*sin(4*f*x + 4*e) + 28*c^5*sin(2*f*x + 2*e) - 8*c^5*sin(1/2*arctan2(sin(2*f*x + 2*e), cos
(2*f*x + 2*e))))*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 16*(c^5*sin(8*f*x + 8*e) + 28*c^5*sin(
6*f*x + 6*e) + 70*c^5*sin(4*f*x + 4*e) + 28*c^5*sin(2*f*x + 2*e))*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x
+ 2*e))))*f)

________________________________________________________________________________________

Fricas [A]  time = 0.497793, size = 383, normalized size = 4.16 \begin{align*} \frac{{\left (6 \, a \cos \left (f x + e\right )^{4} - 6 \, a \cos \left (f x + e\right )^{3} + 4 \, a \cos \left (f x + e\right )^{2} - a \cos \left (f x + e\right )\right )} \sqrt{\frac{a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt{\frac{c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{6 \,{\left (c^{5} f \cos \left (f x + e\right )^{4} - 4 \, c^{5} f \cos \left (f x + e\right )^{3} + 6 \, c^{5} f \cos \left (f x + e\right )^{2} - 4 \, c^{5} f \cos \left (f x + e\right ) + c^{5} f\right )} \sin \left (f x + e\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(3/2)/(c-c*sec(f*x+e))^(9/2),x, algorithm="fricas")

[Out]

1/6*(6*a*cos(f*x + e)^4 - 6*a*cos(f*x + e)^3 + 4*a*cos(f*x + e)^2 - a*cos(f*x + e))*sqrt((a*cos(f*x + e) + a)/
cos(f*x + e))*sqrt((c*cos(f*x + e) - c)/cos(f*x + e))/((c^5*f*cos(f*x + e)^4 - 4*c^5*f*cos(f*x + e)^3 + 6*c^5*
f*cos(f*x + e)^2 - 4*c^5*f*cos(f*x + e) + c^5*f)*sin(f*x + e))

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))**(3/2)/(c-c*sec(f*x+e))**(9/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(3/2)/(c-c*sec(f*x+e))^(9/2),x, algorithm="giac")

[Out]

Timed out